const { expect } = require("chai");
const { ethers } = require("hardhat");

describe("Token", function () {
    it("Token test", async function () {
        const Greeter = await ethers.getContractFactory("Token");
        const greeter = await Greeter.deploy();
        await greeter.deployed();
        console.log("address: ", await greeter.address);
        // console.log("balance: ", await greeter.balanceOf(greeter.address));
        //
        // await greeter.transfer(greeter.address, 20);
        // console.log("balance1: ", await greeter.balanceOf(greeter.address));
        // console.log("balance1: ", await greeter.balanceOfOwner());
        // let addr = "0x256EAc5e66d8B84e27461366C32fd2f4b4fF76e7";
        // await greeter.deposit(addr);
        // console.log("balance2: ", await greeter.balanceOf(addr));
        // console.log("balance2: ", await greeter.balanceOfOwner());
    });
});
